package cn.jxwazx.sheinspringboot.entity.po;

import cn.jxwazx.sheinspringboot.entity.BaseColumn;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author LoveHuaHua
 * @date 2024年04月05日 22:00
 * @description believe in yourself
 */
/**
 * 任务表
 */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "task")
public class Task extends BaseColumn {
    /**
     * 抓取地址
     */
    @TableField(value = "url")
    private String url;

    /**
     * 已抓取次数
     */
    @TableField(value = "`count`")
    private Integer count;

    /**
     * 状态 0=待完成 1=进行中 2=已完成
     */
    @TableField(value = "`status`")
    private Integer status;

    public static final String COL_ID = "id";

    public static final String COL_CREATE_BY = "create_by";

    public static final String COL_CREATE_TIME = "create_time";

    public static final String COL_LAST_UPDATE_BY = "last_update_by";

    public static final String COL_LAST_UPDATE_TIME = "last_update_time";

    public static final String COL_REMOVE_FLAG = "remove_flag";

    public static final String COL_URL = "url";

    public static final String COL_COUNT = "count";

    public static final String COL_STATUS = "status";
}